package com.kern.rpcserver;

import java.io.IOException;

/**
 * Created by caoshi at 17:36 2021-07-24
 */
public class RPCServerTestMain {

    public static void main(String[] args) throws IOException {

        System.out.println("======= RPC服务端启动 ======== ");

//        // 开启线程启动服务
        new Thread(() -> {
            try {
                RpcServer server = new RpcServer(8989);
                server.start();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }).start();


    }
}
